<ion-view view-title="图文详情" class="productinfo">
	
	<div class="bar bar-subheader padding-0" ng-if="data">
		<!--描述：顶部模块-->
		<div class="row top">
			<div class="col" on-tap="activeTab(0)">
				<div ng-class="selectTab==0?'top-activated':''">图文详情</div>
			</div>
			<div class="col" on-tap="activeTab(1)">
				<div ng-class="selectTab==1?'top-activated':''">活动规则</div>
			</div>
			<div class="col" on-tap="activeTab(2)" ng-if="data.act_logs">
				<div ng-class="selectTab==2?'top-activated':''">出价历史</div>
			</div>
		</div>
	</div>

	<!--描述：滑动块-->
	<ion-content class="has-header has-subheader">
		<ion-slide-box delegate-handle="tab-handle" on-touch="onTouch()" on-release="onRelease()" draw-slide="false" on-slide-changed="slideChanged(index)" active-slide="slideIndex" show-pager="false">
			<!--图文详情-->
			<ion-slide>
				<ion-scroll direction="y" ng-style="myObj">
					<!--没有数据-->
					<div class="noData" ng-if="!description">
						<img src="./img/guilin/other/icon_noRecord@2x.png" />
						<div class="tip">暂时没有图片详情哦！</div>
					</div>
					<div class="list list-borderless" ng-if="description">
						<li class="item">
							<p>编号：{{data.bn}}</p>
							<p>货号：{{data.product_bn}}</p>
							<p>品牌：{{data.brand.brand_name}}</p>
						</li>
						<div class="tuwen" ng-bind-html="description"></div>
					</div>
				</ion-scroll>
			</ion-slide>

			<!--活动规则-->
			<ion-slide>
				<ion-scroll direction="y" ng-style="myObj">
					<!--没有数据-->
					<div class="noData" ng-if="!data.rule">
						<img src="./img/guilin/other/icon_noRecord@2x.png" />
						<div class="tip">暂时没有活动规则哦！</div>
					</div>
					<div class="list">
						<div class="tuwen" ng-bind-html="data.rule"></div>
					</div>
			</ion-slide>
			
			<!--出价历史，限时拍卖显示-->
			<ion-slide class="log">
				<ion-scroll direction="y" ng-style="myObj" ng-if="data.act_logs">
					<!--没有数据-->
					<div class="noData" ng-if="!data.act_logs">
						<img src="./img/guilin/other/icon_noRecord@2x.png" />
						<div class="tip">暂时没有出价历史哦！</div>
					</div>
					<div class="list" ng-if="data.act_logs">
						<li class="item">
							<div class="row title">
								<div class="col col-33">出价人</div>
								<div class="col col-33">出价</div>
								<div class="col col-33">出价时间</div>
							</div>
						</li>
						<li class="item" ng-repeat="logs in data.act_logs">
							<div class="row comment">
								<div class="col col-33">{{logs.login_name}}</div>
								<div class="col col-33">{{logs.bid_price|currency:'￥'}}</div>
								<div class="col col-33">{{logs.bid_datetime}}</div>
							</div>
						</li>
					</div>
			</ion-slide>
			
		</ion-slide-box>
	</ion-content>
</ion-view>